package com.gxa.mapper;

import com.gxa.common.vo.AbnormalWarning;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AbnormalWarningMapper {
    //查询所有异常预警
    List<AbnormalWarning> findAll();
    //条件查询
    List<AbnormalWarning> selectByName(@Param("name") String name,@Param("sex") String sex,@Param("idCard") String idCard,@Param("phoneNum") String phoneNum,@Param("status") String status,@Param("registrationDate") Date registrationDate);
    //转为确诊
    int turnDiagnosis(int id);
}
